# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=propecia
pkgver=2
pkgrel=5
pkgdesc='A fast class scanner that scans for a specified open port with banner grabbing.'
url='http://www.redlevel.org/'
groups=('blackarch' 'blackarch-fingerprint' 'blackarch-scanner')
license=('GPL')
makedepends=('gcc')
depends=('glibc')
arch=('x86_64' 'aarch64')
source=("$pkgname.c::https://dl.packetstormsecurity.net/UNIX/scanners/${pkgname}${pkgver}.c")
sha512sums=('812b0be50843f3f9729aed08dddac4d8be8bc563d57d77ed3376864a59e13d53f093ac3d11a190085aa54b8c8250869b9d2ebbb42813332f5bfcc950de769ba2')

build() {
  gcc $CFLAGS "$pkgname.c" -o $pkgname
}

package(){
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

